package com.ruoyi.member.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.member.api.factory.RemoteMemberFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * @Author {那蓝桉}
 * @Date: 2023/08/07/ 11:31
 * @description
 */
@FeignClient(contextId = "remoteGoodsService", value = ServiceNameConstants.GOODS_SERVICE, fallbackFactory = RemoteMemberFallbackFactory.class)
public interface RemoteMemberService {
    @PostMapping("/member/upload")
    Map<String,Object> upload(MultipartFile file);
}
